package cn.alm.mybatis01helloworld.mapper;

import cn.alm.mybatis01helloworld.entity.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EmpDynamicMapper {

    List<Emp> getEmpByNameAndSalary(@Param("emp") Emp emp);

    Integer updateEmp(@Param("emp") Emp emp);

}
